def list_sort(a):
    a.sort()
    print(a)

list1 = ['23','45','98','12','56','3','-1']
list_sort(list1)

